using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class NetLog_RemoteDebug_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(NetLog.RemoteDebug);
            args = new Type[]{};
            method = type.GetMethod("get_Instance", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Instance_0);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("OpenServer", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, OpenServer_1);
            args = new Type[]{typeof(System.String), typeof(System.Int32)};
            method = type.GetMethod("Connect", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Connect_2);
            args = new Type[]{typeof(System.String), typeof(System.Int32)};
            method = type.GetMethod("ConnectConsole", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ConnectConsole_3);
            args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
            method = type.GetMethod("ConnectConsole", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ConnectConsole_4);
            args = new Type[]{};
            method = type.GetMethod("Dispose", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Dispose_5);
            args = new Type[]{};
            method = type.GetMethod("OpenLog", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, OpenLog_6);
            args = new Type[]{};
            method = type.GetMethod("CloseLog", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, CloseLog_7);
            args = new Type[]{typeof(System.UInt16), typeof(System.String), typeof(System.Byte)};
            method = type.GetMethod("SendString", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SendString_8);
            args = new Type[]{typeof(System.Byte), typeof(System.UInt16), typeof(System.Byte[]), typeof(System.Byte)};
            method = type.GetMethod("Send", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Send_9);
            args = new Type[]{};
            method = type.GetMethod("HandleMain", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, HandleMain_10);

            field = type.GetField("kcp", flag);
            app.RegisterCLRFieldGetter(field, get_kcp_0);
            app.RegisterCLRFieldSetter(field, set_kcp_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_kcp_0, AssignFromStack_kcp_0);
            field = type.GetField("user", flag);
            app.RegisterCLRFieldGetter(field, get_user_1);
            app.RegisterCLRFieldSetter(field, set_user_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_user_1, AssignFromStack_user_1);
            field = type.GetField("console", flag);
            app.RegisterCLRFieldGetter(field, get_console_2);
            app.RegisterCLRFieldSetter(field, set_console_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_console_2, AssignFromStack_console_2);
            field = type.GetField("ServerIp", flag);
            app.RegisterCLRFieldGetter(field, get_ServerIp_3);
            app.RegisterCLRFieldSetter(field, set_ServerIp_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_ServerIp_3, AssignFromStack_ServerIp_3);
            field = type.GetField("ServerPort", flag);
            app.RegisterCLRFieldGetter(field, get_ServerPort_4);
            app.RegisterCLRFieldSetter(field, set_ServerPort_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_ServerPort_4, AssignFromStack_ServerPort_4);
            field = type.GetField("deviceName", flag);
            app.RegisterCLRFieldGetter(field, get_deviceName_5);
            app.RegisterCLRFieldSetter(field, set_deviceName_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_deviceName_5, AssignFromStack_deviceName_5);


            app.RegisterCLRCreateDefaultInstance(type, () => new NetLog.RemoteDebug());
            app.RegisterCLRCreateArrayInstance(type, s => new NetLog.RemoteDebug[s]);

            args = new Type[]{};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* get_Instance_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = NetLog.RemoteDebug.Instance;

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* OpenServer_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @port = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.OpenServer(@port);

            return __ret;
        }

        static StackObject* Connect_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @port = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.String @ip = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Connect(@ip, @port);

            return __ret;
        }

        static StackObject* ConnectConsole_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @port = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.String @ip = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ConnectConsole(@ip, @port);

            return __ret;
        }

        static StackObject* ConnectConsole_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @port = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Int32 @ip = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ConnectConsole(@ip, @port);

            return __ret;
        }

        static StackObject* Dispose_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Dispose();

            return __ret;
        }

        static StackObject* OpenLog_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.OpenLog();

            return __ret;
        }

        static StackObject* CloseLog_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.CloseLog();

            return __ret;
        }

        static StackObject* SendString_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 4);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Byte @cmdType = (byte)ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.String @str = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            System.UInt16 @cmd = (ushort)ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SendString(@cmd, @str, @cmdType);

            return __ret;
        }

        static StackObject* Send_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 5);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Byte @cmdType = (byte)ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Byte[] @dat = (System.Byte[])typeof(System.Byte[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            System.UInt16 @cmd = (ushort)ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            System.Byte @dataType = (byte)ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Send(@dataType, @cmd, @dat, @cmdType);

            return __ret;
        }

        static StackObject* HandleMain_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            NetLog.RemoteDebug instance_of_this_method = (NetLog.RemoteDebug)typeof(NetLog.RemoteDebug).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.HandleMain();

            return __ret;
        }


        static object get_kcp_0(ref object o)
        {
            return ((NetLog.RemoteDebug)o).kcp;
        }

        static StackObject* CopyToStack_kcp_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((NetLog.RemoteDebug)o).kcp;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_kcp_0(ref object o, object v)
        {
            ((NetLog.RemoteDebug)o).kcp = (huqiang.Communication.KcpServer)v;
        }

        static StackObject* AssignFromStack_kcp_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Communication.KcpServer @kcp = (huqiang.Communication.KcpServer)typeof(huqiang.Communication.KcpServer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((NetLog.RemoteDebug)o).kcp = @kcp;
            return ptr_of_this_method;
        }

        static object get_user_1(ref object o)
        {
            return ((NetLog.RemoteDebug)o).user;
        }

        static StackObject* CopyToStack_user_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((NetLog.RemoteDebug)o).user;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_user_1(ref object o, object v)
        {
            ((NetLog.RemoteDebug)o).user = (NetLog.LogUser)v;
        }

        static StackObject* AssignFromStack_user_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            NetLog.LogUser @user = (NetLog.LogUser)typeof(NetLog.LogUser).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((NetLog.RemoteDebug)o).user = @user;
            return ptr_of_this_method;
        }

        static object get_console_2(ref object o)
        {
            return ((NetLog.RemoteDebug)o).console;
        }

        static StackObject* CopyToStack_console_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((NetLog.RemoteDebug)o).console;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_console_2(ref object o, object v)
        {
            ((NetLog.RemoteDebug)o).console = (NetLog.LogUser)v;
        }

        static StackObject* AssignFromStack_console_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            NetLog.LogUser @console = (NetLog.LogUser)typeof(NetLog.LogUser).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((NetLog.RemoteDebug)o).console = @console;
            return ptr_of_this_method;
        }

        static object get_ServerIp_3(ref object o)
        {
            return ((NetLog.RemoteDebug)o).ServerIp;
        }

        static StackObject* CopyToStack_ServerIp_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((NetLog.RemoteDebug)o).ServerIp;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_ServerIp_3(ref object o, object v)
        {
            ((NetLog.RemoteDebug)o).ServerIp = (System.String)v;
        }

        static StackObject* AssignFromStack_ServerIp_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @ServerIp = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((NetLog.RemoteDebug)o).ServerIp = @ServerIp;
            return ptr_of_this_method;
        }

        static object get_ServerPort_4(ref object o)
        {
            return ((NetLog.RemoteDebug)o).ServerPort;
        }

        static StackObject* CopyToStack_ServerPort_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((NetLog.RemoteDebug)o).ServerPort;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_ServerPort_4(ref object o, object v)
        {
            ((NetLog.RemoteDebug)o).ServerPort = (System.Int32)v;
        }

        static StackObject* AssignFromStack_ServerPort_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @ServerPort = ptr_of_this_method->Value;
            ((NetLog.RemoteDebug)o).ServerPort = @ServerPort;
            return ptr_of_this_method;
        }

        static object get_deviceName_5(ref object o)
        {
            return ((NetLog.RemoteDebug)o).deviceName;
        }

        static StackObject* CopyToStack_deviceName_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((NetLog.RemoteDebug)o).deviceName;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_deviceName_5(ref object o, object v)
        {
            ((NetLog.RemoteDebug)o).deviceName = (System.String)v;
        }

        static StackObject* AssignFromStack_deviceName_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @deviceName = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((NetLog.RemoteDebug)o).deviceName = @deviceName;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new NetLog.RemoteDebug();

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
